<template>
  <van-cell-group title="分组标题" v-if="myItem.propValues[groupIndex].value">
    <van-cell
      :title="myItem.propValues[titleIndex].value"
      :value="myItem.propValues[contentIndex].value"
      :is-link="myItem.propValues[linkIndex].value"
      size="large"
    />
  </van-cell-group>
  <van-cell v-else
    :title="myItem.propValues[titleIndex].value"
    :value="myItem.propValues[contentIndex].value"
    :is-link="myItem.propValues[linkIndex].value"
    size="large"
  />
</template>
<script>
export default {
  props: {
    myItem: {},
  },

  data() {
    return {
      titleIndex: 0,
      contentIndex: 1,
      linkIndex: 2,
      groupIndex: 3,
    };
  },
};
</script>